import Vue from 'vue'
import App from './App.vue'
import router from './router'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);
import Axios from "axios";
const http = Axios.create({
  baseURL: process.env.VUE_APP_API_BASE,
  headers: {'Content-Type':'application/x-www-form-urlencoded;charset=UTF-8'},
  timeout: 15000,
  withCredentials: true
})
Vue.prototype.$http = http

Vue.config.productionTip = false

new Vue({
  router,
  render: function (h) { return h(App) }
}).$mount('#app')
